Test circuit and multi-chip package type semiconductor device having the test circuit

ABSTRACT

A MCP semiconductor device includes at least first and second chips, each of which has internal pads and an internal circuit, encapsulated by a sealing material together. The device further includes a test circuit. The test circuit connects each of the internal pads to one of the internal circuits under a normal operation mode of the device, and disconnect between them under a test mode.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Japanese PatentApplication No. 2000-320643, filed Oct. 20, 2000, the entire disclosureof which is incorporated herein by reference. This application is adivision of applicant's application Ser. No. 09/978,630, Oct. 18, 2001now U.S. Pat. No. 6,762,486.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to a test circuit capable of a multi-chip packagetype semiconductor device (MCP semiconductor device) and an MCPsemiconductor device having the test circuit.

2. Description of the Related Art

In the related art, there are several types of multi-chip packages inwhich more than one IC chip can be packaged. One typical multi-chippackage is a stack-type multi-chip package that packages at least two ICchips in a stacked manner as shown in FIG. 7. Another typical multi-chippackage is a parallel-type multi-chip package that packages at least twoIC chips in the same plane as shown in FIG. 8.

As shown in FIGS. 7 and 8, Each of the MCP semiconductor devices 1, 2includes a first semiconductor chip (hereinafter “first chip”) C101 anda second semiconductor chip (hereinafter “second chip”) C102. The firstchip C101 includes terminal pads P101 for internal connections(hereinafter “internal pads”), and terminal pads P111 for externalconnection (hereinafter “external pads”). The second chip C102 shown inFIG. 7 includes internal pads P102, and the second chip C102 shown inFIG. 8 includes internal pads P102 and external pad P112. Each of theinternal pads P101 is connected to one of the internal pads P102 by abonding wire BW. Each of the external terminal pads P111 and of theexternal terminal pads P112 are connected to one of external terminal121 by a bonding wire BW.

A process of forming the MCP semiconductor device 2 shown in FIG. 8includes a step for conveying the first chip C101 and second chip C102,and a step for mounting the first and second chips on a printed board. Aprocess of forming the MCP semiconductor device 1 shown in FIG. 7includes a step for conveying a first chip C101 and the second chipC102, and a step for mounting the second chip C102 on the first chipC101. In these steps, static electricity may be charged on the first andsecond chips C101, C102. While the static electricity may be charged onthe first and second chips C101, C102, if the bonding wires BW arecontacted with the internal and external pads P101, P102, P111, P112,surges may occur between the internal and external pads P101, P102,P111, P112 and the bonding wires BW. As a result, a peripheral circuit,which is formed near the pads, may be damaged by the surges. When thedamage is critical to the peripheral circuit, it is possible to find anMCP semiconductor device having a damaged chip by a function test.However, when the damage is not so critical to a peripheral circuit, anMCP semiconductor device having a damaged chip may not be found by thefunction test because the damaged circuit operates normally. Since it isdifficult to find an MCP semiconductor device having a damaged chip by afunction test, an MCP semiconductor device having a damaged chip isfound by measuring a leakage current. According to this measurement, ajudgement as to whether an MCP semiconductor device has a damaged chip,can be made.

In an MCP semiconductor device having a single chip, since a terminalpad formed on the chip is connected directly to an external terminal ofa lead flame placed outside of the MCP semiconductor device, it is easyto measure a leakage current at the terminal pad by applying a voltagehaving an H level (ex. power supply voltage) or applying a voltagehaving an L level (ex. ground voltage) to the external pad. However, inan MCP semiconductor device, at least two chips are formed, and thesechips are connected to each other at some of their internal pads P101,P102 by the bonding wires BW, as shown in FIGS. 7 and 8. In other word,these internal pad P101, P102 are used for connecting the first chipC101 to the second chips C101, C102, and are not used for connecting thefirst and second chips C101, C102 to the external terminals 121.Therefore, it is impossible to measure leakage current on these internalpads P101, P102 by applying the predetermined voltage from the outsidebecause these internal pads P101, P102 are not connected directly to theexternal terminal on which the predetermined voltage is applied.

Since it is impossible to measure a leakage current on these internalpads P101, P102 by the method described above, the judgement as towhether an MCP semiconductor device having a damaged chip, must rely onthe function test. However, as described above, the function test maynot be able to find a damaged chip when the damage is not critical. As aresult, the MCP semiconductor device having the damaged chip may bemanufactured, and then, incorporated in a system. In the worst case, theMCP semiconductor device having the damaged chip malfunctions, and itcauses the system to malfunction.

To resolve this problem, it is proposed for an MCP semiconductor devicethat a consuming current (IDDS) be measured under the condition that anoperation of all chips is halted. However, there are some problems withthis measurement.

For example, if one of two chips is a programmable memory, it takes along time to fix the highest bit in an address to “0” or “1”. As aresult, a long time is required for measuring the consuming current(IDDS) under the conduction that an operation of all chips is halted.

Further, if one of two chips is a memory, an electric current of a fewmA flows in the chip when a chip select terminal is enabled. That is,when MCP semiconductor device includes a chip such as a memory chip orsimilar kinds, it may be impossible to set the value of the electriccurrent to be caused to flow in the chip to zero (“0”), depending on thevoltage level that is applied to each terminal. As a result, it isdifficult to obtain accurate measurement results.

Moreover, if one of the two chips is an analog circuit such as an A/Dconverter, it is difficult to fix the internal pad P101, P102 to thepredetermined voltage level.

As described above, it is not easy to test the internal terminal padsand their peripheral circuits formed on each chip, according to thestructure of the MCP semiconductor device

SUMMARY OF THE INVENTION

It is therefore an object of the invention to resolve theabove-described problem in an MCP semiconductor device and provide anMCP semiconductor device having a test circuit for testing the MCPsemiconductor device accurately and rapidly.

The object is achieved by an MCP semiconductor device including at leastfirst and second chips encapsulated together by a sealing material. Thefirst semiconductor chip includes a first internal circuit and aplurality of first internal terminal pads for transmitting signals to orfrom the first internal circuit. The second semiconductor chip includesa second internal circuit and a plurality of second internal terminalpads for transmitting signals to or from the second internal circuit.Each second internal pad is electrically connected to one the firstinternal terminal pads. The MCP semiconductor device further includes atest circuit, responsive to a voltage level of a test mode signal,selecting one from between the operations for prohibiting signaltransmission between the first internal circuit and the first internalterminal pads and for allowing signal transmission between the firstinternal circuit and the first internal terminal pads, and selecting onefrom between the operations for prohibiting signal transmission betweenthe second internal circuit and the second internal terminal pads andfor allowing signal transmission between the second internal circuit andthe second internal terminal pads.

Further, the object is achieved by an MCP semiconductor device having atest circuit for providing the test data, for storing a test result, andfor connecting the external terminal pad to the internal terminal pad.

The above and further objects and novel features of the invention willmore fully appear from the following detailed description, appendedclaims and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a circuit diagram of a test circuit formed in an MCPsemiconductor device according to a first embodiment of the invention;

FIG. 2 is a circuit diagram of a test circuit formed in an MCPsemiconductor device according to a second embodiment of the invention;

FIG. 3 is a circuit diagram of a test circuit formed in an MCPsemiconductor device according to a third embodiment of the invention;

FIG. 4 is an internal plan view of an MCP semiconductor device having atest circuit according to a fourth embodiment of the invention;

FIG. 5 is a circuit diagram of the test circuit formed in the MCPsemiconductor device according to the fourth embodiment of theinvention;

FIG. 6 is a circuit diagram of a test circuit formed in an MCPsemiconductor device according to a fifth embodiment of the invention;

FIG. 7 is an internal plan view of an MCP semiconductor device in therelated art; and

FIG. 8 is an internal plan view of another MCP semiconductor device inthe related art.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

In the first through fifth embodiments, the same reference numbersdesignate the same or similar components.

First Preferred Embodiment

Referring to FIG. 1, a multi-chip package type semiconductor device(hereinafter “an MCP semiconductor device”) 100 includes a firstsemiconductor chip (hereinafter “a first chip”) C1 and a secondsemiconductor chip (hereinafter “a second chip”) C2 mounted on the firstchip C1.

The first chip C1 includes a first test circuit TC1 and internalterminal pads (hereinafter “internal pads”) P1 a, P1 b, P1 c. The secondchip C2 includes a second test circuit TC2 and internal pads P2 a, P2 b,P2 c. The internal pad P1 a is connected to the internal pad P2 a by abonding wire BWa. The internal pad P1 b is connected to the internal padP2 b by a bonding wire BWb. The internal pad P1 c is connected to theinternal pad P2 c by a bonding wire BWc. In the normal operation of theMCP semiconductor device, a signal from the first chip C1 is transferredto the second chip C2 through the bonding wire BWa in the direction ofan arrow A shown in FIG. 1. A signal from the second chip C2 istransferred to the first chip C1 through the bonding wire BWb in thedirection of an arrow B shown in FIG. 1.

The internal pads P1 a, P1 b of the first chip C1 are connected to afirst internal circuit 80 formed on the first chip C1, via the firsttest circuit TC1. The internal pads P2 a, P2 b of the second chip C2 areconnected to a second internal circuit 90 formed on the second chip C2,via the second test circuit TC2.

A test circuit 150 is a combination of the first test circuit TC1 andthe second test circuit TC2. The first test circuit TC1 includes aselector 11, a first test register 12, a second test register 13, afirst output control circuit 17, a first input control circuit 18, andan inverter 19. The first test register 12 includes a data inputterminal D, a write signal (WR) input terminal CK and an output terminalQ, and the second test register 13 includes a data input terminal D, aWR signal input terminal CK and an output terminal Q. The first inputcontrol circuit 18 includes a first input terminal and a second inputterminal.

Responsive to a WR signal, the first and second registers 12, 13 receivedata, each data element having an H level or an L level at its datainput terminal D from a data line DL. If the MCP semiconductor deviceincludes a microcomputer, an internal data bus corresponds to the dataline DL.

Responsive to a first test mode signal TM1, the selector 11 selects onefrom between an output signal OUT1 from the first internal circuit 80and an output signal from the second register 12, and outputs theselected signal to the internal pad P1 a. The output terminal Q of thesecond register 13 is connected to an input terminal of the first outputcontrol circuit 17, which is controlled by the first test mode signal TM1. An output terminal of the first output control circuit 17 isconnected to the internal pad P1 b.

The first input terminal of the first input control circuit 18 isconnected to the internal pad P1 b, and the second input terminal of thefirst input control circuit 18 is connected to output terminal of theinverter 19, which outputs the inverted signal of the first test modesignal TM1.

The second test circuit TC2 includes a second input control circuit 21having first and second input terminals, a second output control circuit22, and a test mode control circuit 23 having a first and second inputterminals.

The first input terminal of the second input control circuit 21 isconnected to the internal pad P2 a, and the second input terminal of thesecond input control circuit 21 is connected to an output terminal ofthe test mode control circuit 23. An output terminal of the second inputcontrol circuit 21 is connected to the second internal circuit 90.

An input terminal of the second output control circuit 22 is connectedto the second internal circuit 90, and the output terminal of the secondoutput control circuit 22 is connected to the internal pad P2 b. Ancontrol terminal of the second output control circuit 22 is connected tothe output terminal of the test mode control circuit 23.

The test mode control circuit 23 receives a second test mode signal TM2at its first input terminal, and receives the first test mode signal TM1at its second input terminal via the internal pad P2 c, the bonding wireBWc, and the internal pad P1 c.

The operation of the MCP semiconductor device 100 having the structuredescribed above, is explained below. In the normal operation of the MCPsemiconductor device 100, the voltage levels of the first and secondtest mode signal TM1, TM2 are set at the L level.

While the first test mode signal TM1 is at the L level, the selector 11selects the output signal OUT1 from the first internal circuit 80, andoutputs it to the internal pad P1 a. While the first test mode signalTM1 is at the L level, the output terminal of the first output controlcircuit 17 is in a high impedance state. Further, since the first testmode signal TM1 having the L level is inverted by the inverter 19, thefirst input control circuit 18 receives the signal having H level atit's the second input terminal.

In the meantime, since the test mode control circuit 23 receives thefirst and second test mode signals TM1, TM2 having L level at its firstand second input terminals, the test mode control circuit 23 provides asignal having the H level to the second input terminal of the secondinput control circuit 21 and to the control terminal of the secondoutput control circuit 22. Since the signal having the H level isinputted to the control terminal of the second output control circuit22, the second output control circuit 22 provides the output signal OUT2from the second internal circuit 90 to the internal pad P2 b.

As described above, since the output signal OUT1 from the first internalcircuit 80 is provided to the internal pad P1 a, the output signal OUT1is provided to the first input terminal of the second input controlcircuit 21 via internal pad P2 a. Since the signal having the H level isinputted from the test mode control circuit 23 to the second inputterminal of the second input control circuit 21 at this time, thevoltage level of the output signal of the second input control circuit21 is changed, responsive to the voltage level of the output signalOUT1, which is inputted to the first input terminal of the second inputcontrol circuit 21. Accordingly, the output signal OUT1 of the firstinternal circuit 80 in the first chip C1 is provided to the secondinternal circuit 90 in the second chip C2 as an input signal IN2.

Since the output signal OUT2 of the second internal circuit 90 formed inthe second chip C2 is provided to the internal pad P2 b, the outputsignal OUT2 is inputted to the first input terminal of the first inputcontrol circuit 18 via the bonding wire BWb and the internal pad P1 b.Since the signal having the H level is inputted from the inverter 19 tothe second input terminal of the first input control circuit 18 at thistime, the voltage level of the output signal of the first input controlcircuit 18 is changed, responsive to the voltage level of the outputsignal OUT2, which is inputted to the first input terminal of the firstinput control circuit 18. Accordingly, the output signal OUT2 of thesecond internal circuit 90 in the second chip C2 is provided to thefirst internal circuit 80 in the first chip C2 as an input signal IN1.The description above is of the normal operation of the MCPsemiconductor device 100 having the test circuit 150. Next, the testoperation of the MCP semiconductor device 100 having the test circuit150 is explained below. As described above, the leakage current ismeasured at the internal pad in the test mode operation.

The normal operation mode is changed to the test mode operation bychanging the voltage levels of the first and second test mode signalsTM1, TM2 from the L level to the H level.

While the first test mode signal TM1 is at the H level, the selector 11selects the output signal from the first test register 12, and outputsit to the internal pad P1 a. While the first test mode signal TM1 is atthe H level, since the first output control circuit 17 is enabled, theoutput signal from the second test register 13 is provided to theinternal pad P1 b. Further, since the first test mode signal TM1 havingthe H level is inverted by the inverter 19, the first input controlcircuit 18 receives the signal having L level at it's the second inputterminal. Therefore, the voltage level of the input signal IN1 inputtedto the first internal circuit 80, is fixed to the L level.

In the meantime, since the test mode control circuit 23 receives thefirst and second test mode signals TM1, TM2 having H level at its firstand second input terminals, the test mode control circuit 23 provides asignal having the L level to the second input terminal of the secondinput control circuit 21 and to the control terminal of the secondoutput control circuit 22. Since the signal having the L level isinputted to the second input terminal of the second input controlcircuit 21, the voltage level of the input signal IN2, which is inputtedto the second internal circuit 90, is fixed to the L level. Further,since the signal having the L level is inputted to the control terminalof the second output control circuit 22, the output terminal of thesecond output control circuit 22 is in the high impedance state.

By changing the voltage level of the write signal WR from the L level tothe H level, the data having the H level or the L level on the data lineDL is stored in the first and second test registers 12, 13. The firsttest register 12 outputs the signal having the H level or the L level tothe selector 11, responsive to the voltage level of the stored datatherein. As described above, during the test mode operation of thedevice 100, since the selector 11 selects the output signal from thefirst test register 12, the output signal from the first test register12 is provided to the internal pad P2 a via the internal pad P1 a andthe bonding wire BWa. On the other hand, the second test register 13outputs the signal having the H level or the L level to the first outputcontrol circuit 17, responsive to the voltage level of the stored datatherein. As described above, during the test mode operation of thedevice 100, since the first output control circuit 17 is enabled byapplying the test mode signal TM1 having the H level to its controlterminal, the output signal from the second test register 13 is providedto the internal pad P2 b via the internal pad P1 b and the bonding wireBWb.

In this state, the operation of the MCP semiconductor device 100 ishalted (When the MCP semiconductor device 100 includes a microcomputer,the mode of the microcomputer is changed from the operation mode to thestop mode). If the internal pads P1 a, P1 b, P2 a, P2 b and theirperipheral circuits are not damaged, a current is not caused to flow byapplying signals having the H or L levels from the first and second testregister 12, 13, to the internal pads P1 a, P1 b. Therefore, theconsuming current (IDDS) in the condition that an operation of all chipsis halted is almost zero “0” A when the MCP semiconductor device 100 hasno defective chips.

However, if one of or all of the internal pads P1 a, P1 b, P2 a, P2 band their peripheral circuits have defects having current leakage-passesby being damaged, the leakage current occurs by applying the H or Llevel signals, which are provided from the first and second testregister 12, 13, to the internal pads P1 a, P1 b. As a result, the valueof the consuming current (IDDS) is varied. When a variation of theconsuming current (IDDS) is detected, it is judged that there aredefects in one or more of the internal pads P1 a, P1 b, P2 a, P2 b andtheir peripheral circuits.

In the meantime, it is required that the amount of the consuming currentin the first and second internal circuits 80, 90 be as small as possiblewhen the consuming current (IDDS) is measured. Therefore, according tothe first embodiment, the first and second input control circuits 18, 21are formed by AND gates in order to fix the voltage levels of the inputsignals IN1, IN2 that are inputted to the first and second internalcircuits 80, 90, respectively, to the L level. However, even if thevoltage levels of the input signals IN1, IN2 are fixed to the L level bythe AND gates, the current may flow into the first and second internalcircuit 90 because of structures of the first and second internalcircuits 80, 90. To avoid causing a flow of the current into the firstand second internal circuits 80, 90 when the voltage levels of the inputsignals IN1, IN2 are fixed to the L level, the first and second inputcontrol circuits 18, 21 may be formed by NAND gates.

To determine whether the internal pads P1 c, P2 c and their peripheralcircuits, which transfer the first test mode signal TM1 from the firstchip C1 to the second chip C2, include a current leakage-pass or not,the following test is performed. First, the voltage level of the secondtest mode signal TM2 is maintained at the H level. In this state, thevoltage level of the first test mode signal TM1 changes from the H levelto the L level, and then, the consuming current (IDDS) is measured.

According to the test circuit 150 having the first and second testcircuits TC1, TC2 of the first embodiment, by applying the signalshaving the H level or the L level to the internal pads P1 a, P1 b, P2 a,P2 b, which connect the first chip C1 to the second chip C2, the leakagecurrent on the internal pads P1 a, P1 b, P2 a, P2 b can be measured inthe condition that the operation of all chips is halted. As a result, itis easy to discover the existence of defective internal pads anddefective peripheral circuits formed on the first and second chips C1,C2, so that the accuracy in identifying MCP semiconductor devices havingthe defective chips is increased.

Second Preferred Embodiment

In the first embodiment, the first and second test circuit TC1, TC2 arecapable of the first and second chips C1, C2, each of which has twopairs of the internal pads (P1 a & P1 b and P2 a & P2 b) that transfersome signals. On the other hand, a test circuit 250 of the secondembodiment is capable of a first and second chips, each of which hasmore than two pairs of the internal pads.

Referring to FIG. 2, an MCP semiconductor device 200 includes a firstchip C11 and a second chip C12 mounted on the first chip C11. The firstchip C11 includes internal pads P1 a 1, P1 a 2, P1 a 3, P1 a 4, P1 b 1,P1 b 2, P1 b 3, P1 b 4, P1 c, and the second chip C12 includes internalpads P2 a 1, P2 a 2, P2 a 3, P2 a 4, P2 bl, P2 b 2, P2 b 3, P2 b 4, P2c. Each of the internal pads P1 a 1 through P1 a 4 are connected to oneof the internal pads P2 a 1 through P2 a 4 by a bonding wire, and eachof the internal pads P1 b through P1 b 4 are connected to one of theinternal pads P2 b 1 through P2 b 4 by a bonding wire. Further, theinternal pad P1 c is connected to the internal pad P2 c by wire bonding.

The internal pads P1 a 1 through P1 a 4 and P1 b through P1 b 4 of thefirst chip C11 are connected to a first internal circuit 80 formed onthe first chip C11 via a first test circuit TC11. The internal pads P2 a1 through P2 a 4 and P2 b 1 through P2 b 4 of the second chip C12 areconnected to a second internal circuit 90 formed on the second chip C12via a second test circuit TC12.

The test circuit 250 is a combination of the first test circuit TC11 andthe second test circuit TC12. The first test circuit TC11 includes fourcircuits, each of which is equivalence to the first test circuit TC1disclosed in the first embodiment. Each of four circuits in the firsttest circuit TC11 is assigned to one of four pairs of the internal pads(P1 a 1&P1 b 1, P1 a 2&P1 b 2, P1 a 3&P1 b 3, P1 a 4&P1 b 4).

The second test circuit TC12 includes a first through fourth inputcontrol circuits 211, 212, 213, 214, a first through fourth outputcontrol circuits 221, 222, 223, 224, a test mode control circuit 23, anda first through fourth decoders 26A, 26B, 26C, 26D.

A first input terminal of each of the first through fourth input controlcircuits 211, 212, 213, 214 is connected to one of the internal pads P2a 1, P2 a 2, P2 a 3, P2 a 4, and a second input terminal of each of thefirst through fourth input control circuits 211, 212, 213, 214 isconnected to an output terminal of the test mode control circuit 23commonly. An output terminal of each of the first through fourth inputcontrol circuits 211, 212, 213, 214 is connected to the second internalcircuit 90 formed in the second chip C12.

In the case that no current flows at both of the output terminals of thefirst and second input control circuits 211, 212 when a first inputsignal IN 21 and a second input signal IN 22, which are provided to thesecond internal circuit 90 of the second chip C12, are in the L level,and that no current flows at both of the output terminals of the thirdand fourth input control circuits 213, 214 when a third input signal IN23 and a fourth input signal IN 24, which are also provided to thesecond internal circuit 90 of the second chip C12, are in the L levelbecause of the structure of the second internal circuit 90 formed in thesecond chip C12, the first and second input control circuits 211, 212are formed by AND gates, and the third and fourth input circuits 213,214 are formed by OR gates. By forming the first through fourth inputcontrol circuits 211, 212, 213, 214 as described above, the voltagelevels of the first and second input signals IN21, IN22 are fixed to theL level, and the voltage levels of the third and fourth input signalsIN23, IN24 are fixed to the H level when the mode of the MCPsemiconductor device 200 is changed from the operation mode to the testmode. In other word, in the test mode operation, the current value ateach output terminal of the first through fourth input control circuits211, 212, 213, 214 is considered as zero “0”.

An input terminal of each of the first through fourth output controlcircuits 221, 222, 223, 224 is connected to the second internal circuit90 of the second chip C2, and an output terminal of each of them isconnected to one of the internal pads P2 b 1, P2 b 2, P2 b 3, P2 b 4.The control terminals of the first through fourth output controlcircuits 221, 222, 223, 224 are commonly connected to the outputterminal of the test mode control circuit 23.

The test mode control circuit 23 receives a second test mode signal TM2at its first input terminal. The test mode control circuit 23 alsoreceives a first test mode signal TM1 at its second input terminal viathe internal pad P2 c, the bonding wire, and the internal pad P1 c.

The first though fourth decoders 26A, 26B, 26C, 26D decode the signal onthe internal pads P2 a 1, P2 a 2, P2 a 3, P2 a 4, P2 b 1, P2 b 2, P2 b3, P2 b 4, respectively.

The first decoder 26A outputs data “1”, only when the voltage levels ofthe internal pads P2 a 1, P2 a 2, P2 a 3, P2 a 4, P2 b 1, P2 b 2, P2 b3, P2 b 4 are at the L level (data “00000000”).

The second decoder 26B outputs data “1”, only when the voltage levels ofthe internal pads P2 a 1, P2 a 2, P2 a 3, P2 a 4, P2 b 1, P2 b 2, P2 b3, P2 b 4 are at the L level, at the H level . . . at the L level and atthe H level (data “01010101”).

The third decoder 26C outputs data “1”, only when the voltage levels ofthe internal pads P2 a 1, P2 a 2, P2 a 3, P2 a 4, P2 b 1, P2 b 2, P2 b3, P2 b 4 are at the H level, at the L level . . . at the H level and atthe L level (data “10101010”).

The fourth decoder 26D outputs data “1”, only when the voltage levels ofthe internal pads P2 a 1, P2 a 2, P2 a 3, P2 a 4, P2 b 1, P2 b 2, P2 b3, P2 b 4 are at the H level (data “11111111”).

The operation of the MCP semiconductor device 200 having the structuredescribed above, is explained below. In the normal operation mode, sincethe operation of the MCP semiconductor device 200 is similar to that ofthe MCP semiconductor device 100 of the first embodiment, theexplanation of the normal operation of the MCP semiconductor device 200is omitted to avoid the overlapped description. Therefore, theexplanation described below is as to the test mode operation of the MCPsemiconductor device 200.

The normal operation mode is changed to the test mode operation bychanging the voltage levels of the first and second test mode signalsTM1, TM2 from the L level to the H level.

When the voltage level of the test mode signal TM1 is changed from the Llevel to the H level, eight registers send data having predeterminedvoltage levels to the internal pads P1 a 1, P1 a 2, P1 a 3, P1 a 4, P1 b1, P1 b 2, P1 b 3, P1 b 4.

In the meantime, since the test mode control circuit 23 receives thefirst and second test mode signal TM1, TM2 having H level at its firstand second input terminals, the test mode control circuit 23 provides asignal having the L level to the second input terminal of each of thefirst through fourth input control circuits 211, 212, 213, 214 and tothe control terminal of each of the first through fourth output controlcircuits 221, 222, 223, 224. Since the signal having the L level isinputted to the second input terminal of each of the first throughfourth input control circuits 211, 212, 213, 214, the voltage levels ofthe first and second input signals IN21, IN22, which are inputted to thesecond internal circuit 90, are fixed to the L level, and the voltagelevels of the third and fourth input signals IN23, IN24, which also areinputted to the second internal circuit 90, are fixed to the H level.Further, since the signal having the L level is inputted to the controlterminal of each of the first through fourth output control circuits221, 222, 223, 224, the output terminals of them are in the highimpedance state.

In this state, the MCP semiconductor device 200 is halted (When the MCPsemiconductor device 200 includes a microcomputer, the mode of themicrocomputer is changed from the operation mode to the stop mode). Ifthe internal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b 1-P2b 4 and their peripheral circuits are not damaged, the current does notoccur by applying the signals having the H level or the L level, whichare provided from the first test circuit TC11 to each internal pad.Therefore, the consuming current (IDDS) in the condition that anoperation of all chips is halted is almost zero “0” A.

However, if one of or all of the internal pads and their peripheralcircuits have defects having current leakage-passes by being damaged,the leakage current occurs by applying the signals having the H level orthe L level, which are provided from the first test circuit TC11, toeach internal pads. As a result, a value of the consuming current (IDDS)is varied. When the variation of the consuming current (IDDS) is found,it is judged that there are defects on one or more of the internal padsand their peripheral circuits.

The first through fourth decoders 26A, 26B, 26C, 26D are operated asfollows. In order to test the condition of the internal pads P1 a 1-P1 a4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b 1-P2 b 4 and their peripheralcircuits by using the first through fourth decoders 26A, 26B, 26C, 26D,eight test registers are considered as a single data storage member, andeight-bit data having the predetermined pattern is stored in the singledata storage member. Then, the stored eight-bit data is provided to theinternal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4.

First, the eight-bit data (“00000000”) is set in the eight testregisters in order to let all of the voltage levels of the internal padsP1 a 1-P1 a 4, P1 b 1-P1 b 4 be at the L level. If the internal pads P1a 1-P1 a 4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b 1-P2 b 4 and theirperipheral circuits are not damaged, since all of the voltage levels atthe internal pad P1 a 1-P1 a 4 are at the L level, only the firstdecoder 26A of four decoders outputs a signal having the H level (allzero “0” flag), and each of the other decoders 26B, 26C, 26D outputs asignal having the L level. On the contrary, if one of or all of theinternal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b 1-P2 b 4and their peripheral circuits have defects having current leakage-passesby being damaged, the first decoder 26A outputs a signal having the Llevel.

Next, the eight-bit data (“01010101”) is set in the eight test registersin order to let the voltage levels of the internal pads P1 a 1-P1 a 4,P1 b 1-P1 b 4 be at the L level, at the H level . . . at the L level andat the H level. If the internal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4, P2 a1-P2 a 4, P2 b 1-P2 b 4 and their peripheral circuits are not damaged,only the second decoder 26B of four decoders outputs a signal having theH level (“01” flag), and each of the other decoders 26A, 26C, 26Doutputs a signal having the L level. On the contrary, if one of or allof the internal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b1-P2 b 4 and their peripheral circuits have defects having currentleakage-passes by being damaged, the second decoder 26B outputs a signalhaving the L level.

Next, the eight-bit data (“10101010”) is set in the eight test registersin order to let the voltage levels of the internal pads P1 a 1-P1 a 4,P1 b 1-P1 b 4 be at the H level, at the L level . . . at the H level andat the L level. If the internal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4, P2 a1-P2 a 4, P2 b 1-P2 b 4 and their peripheral circuits are not damaged,only the third decoder 26C of four decoders outputs a signal having theH level (“10” flag), and each of the other decoders 26A, 26B, 26Doutputs a signal having the L level. On the contrary, if one of or allof the internal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b1-P2 b 4 and their peripheral circuits have defects having currentleakage-passes by being damaged, the third decoder 26C outputs a signalhaving the L level.

Finally, the eight-bit data (“11111111”) is set in the eight testregisters in order to let all of the voltage levels of the internal padsP1 a 1-P1 a 4, P1 b 1-P1 b 4 be at the H level. If the internal pads P1a 1-P1 a 4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b 1-P2 b 4 and theirperipheral circuits are not damaged, since all of the voltage levels atthe internal pad P1 a 1-P1 a 4 are at the H level, only the fourthdecoder 26D of four decoders outputs a signal having the H level (allone “1” flag), and each of the other decoders 26A, 26B, 26C outputs asignal having the L level. On the contrary, if one of or all of theinternal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4, P2 a 1-P2 a 4, P2 b 1-P2 b 4and their peripheral circuits have defects having current leakage-passesby being damaged, the fourth decoder 26D outputs a signal having the Llevel.

Four-bit data as a output of the first through fourth decoder 26A, 26B,26C, 26D is provided to the first test circuit TC11. When the four-bitdata does not agree on an expected value mentioned above that isexpected from the eight-bit data stored in the eight test registersformed in the first test circuit TC11, it is judged that the MCPsemiconductor device 200 includes a damaged chip.

According to the second embodiment, in addition to the benefits of thefirst embodiment, since it is not necessary to perform the function testto find the defects of the internal pad, a test time can be reduced.

Further, according to the second embodiment, the voltage levels at theadjacent internal pads can be fixed to the predetermined voltage levelaccurately and rapidly by storing the appropriate data in the eightregisters. Therefore, it is not only possible to set the voltage levelof the signals, which are applied to all internal pads, at the H levelor the L level, but also possible to applied the signal having thedifferent voltage level to the adjacent internal pads. Specifically, byapplying the signal having the different voltage level to the adjacentinternal pads, it is further possible to find the electric short amongthe bonding wires or the disconnection of the bonding wires.

Furthermore, according to the second embodiment, although the input andoutput between the first chip C11 and the second chip C12 are performedby the eight internal pads of four pair formed in each chip, it ispossible to apply the second embodiment to another MCP semiconductorchip having internal pads more than eight. In this case, by increasing anumber of the input terminal of each decoder, responsive to the numberof the internal pad, data appeared on each internal pad can be decodedwithout increasing the number of decoders.

Third Preferred Embodiment

Comparing to the MCP semiconductor device 100 having the test circuit150 of the first embodiment, an MCP semiconductor device 300 includes afirst chip C21 instead of the first chip C1 disclosed in the firstembodiment, and the second chip C2. The first chip C21 includes a firsttest circuit TC21, and the second chip C2 includes the second testcircuit TC2. The test circuit 350 is a combination of the first testcircuit TC21 and the second test circuit TC2

Referring to FIG. 3, the first test circuit TC21 includes first andsecond analog switches SW1, SW2, an external terminal control circuit32, a first 3-state buffer 37 having one input terminal, one outputterminal and one control terminal, a first AND gate 38 having two inputsand one output, and an inverter 39.

The external terminal control circuit 32 includes second through fifthAND gates 321, 322, 323, 324, each having two inputs and one output, andsecond and third 3-state buffers 325, 356, each having one input, oneoutput and one control terminal.

The first analog switch SW1 includes a transfer gate, and selectsconnection or disconnection between an internal pad P1 a and an externalpad P1 d. As well as the first analog switch SW1, the second analogswitch SW2 also includes a transfer gate, and selects connection ordisconnection between an internal pad P1 b and an external pad P1 e.Both of the first and second analog switch SW1, SW2 are controlled by afirst test mode signal TM1 and the inverted signal of the first testmode signal TM1, which is generated by the inverter 39. When the mode ofthe MCP semiconductor device 200 is changed from the operation mode tothe test mode by changing the voltage level of the first test modesignal TM1 from the L level to the H level, the first and second analogswitch SW1, SW2 turn on. Therefore, in the test mode operation, theinternal pads P1 a, P1 b are electrically connected to the external padsP1 d, P1 b, which are connected to external terminals 311, 312 of a leadframe.

The input terminal of the 3-state buffer 37 is connected to a transferline of an output signal OUT1 from a first internal circuit 80 formed inthe first chip C21, and the output of the 3-state buffer 37 is connectedto the internal pad P1 a. The control terminal of the 3-state buffer 37is connected to the output terminal of the inverter 39 that outputs theinverted signal of the first test mode signal TM1.

The first input terminal of the first AND gate 38 is connected to theinternal pad P1 b, and its second input terminal is connected to theoutput terminal of the inverter 39. The output terminal of the first ANDgate 38 is connected to a transfer line of an input signal IN1 to thefirst internal circuit 80 formed in the first chip C21.

Each of the first input terminal of the second through fifth AND gates321, 322. 323, 324, which is formed in the external terminal controlcircuit 32, is connected to the output terminal of the inverter 39commonly. The second input terminal of the second AND gate 321 isconnected to the external pad P1 d, and its output is connected to atransfer line of an input signal IN11 to the first internal circuit 80.The second input terminal of the third AND gate 322 is connected to theexternal pad P1 e, and its output is connected to a transfer line of aninput signal IN12 to the first internal circuit 80. The second inputterminal of the fourth AND gate 323 is connected to a transfer line of afirst enable signal EN1, and its output is connected to the controlterminal of the second 3-state buffer 325. The second input terminal ofthe fifth AND gate 324 is connected to a transfer line of a secondenable signal EN2, and its output is connected to the control terminalof the third 3-state buffer 326. The functions of the external pads P1e, P1 e are changed by the first and second enable signal EN1, EN2. Thatis, when the voltage levels of the first and second enable signal EN1,EN2 are at the L level, the output terminals of the second and third3-state buffer 325, 326 are in the high impedance state withoutresponding the signals OUT11, OUT12 because the fourth and fifth ANDgates 323, 324 output the signals, each having the L level. Thus, thesignals provided from the external terminals 311, 312 are provided tothe first internal circuit 80 via the first and second AND gates 321,322. In this state, the external pads P1 e, P1 e are acting as inputpads. On the contrary, when the voltage levels of the first and secondenable signal EN1, EN2 are at the H level, the output terminals of thesecond and third 3-state buffer 325, 326 output the signalscorresponding to the signals OUT11, OUT12 because the fourth and fifthAND gates 323, 324 output the signals, each having the H level. Thus,the signals from the first internal circuit 80 are outputted from theexternal terminals 311, 312. In this state, the external pads P1 e, P1 eare acting as output pads.

The input terminal of the second 3-state buffer 35, which is disposed inthe external terminal control circuit 32, is connected to a transferline of an output signal OUT11 being sent from the first internalcircuit 80 formed in the first chip C21, and its output terminal isconnected to the external pad P1 d. The input terminal of the third3-state buffer 326 is connected to a transfer line of an output signalOUT12 being sent from the first internal circuit 80 formed in the firstchip C21, and its output terminal is connected to the external pad P1 e.

The operation of the MCP semiconductor device 300 having the structuredescribed above, is explained below. In the normal operation, thevoltage levels of the first and second test mode signal TM1, TM2 are setat the L level.

While the first test mode signal TM1 is at the L level, both of theanalog switches SW1, SW2 are in off-state. Thus, the internal pads P1 a,P1 b are disconnected from the external pads P1 d, P1 e electrically. Onthe other hand, in this state, each of the first terminals of the secondthrough fifth AND gate 321, 322, 323, 324 is in the active state (Hlevel) because the voltage level of the first test mode signal TM1 isinverted from the L level to the H level by the inverter 39, and becausethe inverted signal is inputted to the first input terminals of thesecond through fifth AND gate 321, 322, 323, 324.

When the external pads P1 d, P1 e are used for receiving signals fromthe external terminals 311, 312, the voltage levels of the first andsecond enable signals are set at the L level. Thus, since the outputsignal having the L level from the fourth AND gate 323 is inputted tothe control terminal of the second 3-state buffer 325, and since theoutput signal having the L level from the fifth AND gate 324 is inputtedto the control terminal of the third 3-state buffer 326, the outputterminals of the second and third 3-state buffers 325, 326 are in thehigh impedance state.

The signal inputted from the external terminal 311 is provided to thefirst internal circuit 80 of the first chip C21 as the input signal IN11via the internal pad P1 d and the second AND circuit 321. The signalinputted from the external terminal 312 also is provided to the firstinternal circuit 80 of the first chip C21 as the input signal IN12 viathe internal pad P1 e and the third AND circuit 322.

On the contrary, when the external pads P1 d, P1 e are used for sendingsignals to the external terminal 311, 312, the voltage levels of thefirst and second enable signals are set at the H level. Thus, since theoutput signal having the H level from the fourth AND gate 323 isinputted to the control terminal of the second 3-state buffer 325, andsince the output signal having the H level from the fifth AND gate 324is inputted to the control terminal of the third 3-state buffer 326, thesecond and third 3-state buffers 325, 326 are in the active state.

The output signal OUT11 outputted from the first internal circuit 80 ofthe first chip C21 is provided to the external terminal 311 via thesecond 3-state buffer 325, and the internal pad P1 d. The output signalOUT12 outputted from the first internal circuit 80 of the first chip C21is provided to the external terminal 312 via the third 3-state buffer326, and the internal pad P1 e.

The operation of the MCP semiconductor device 300 in the normaloperation is described above. Then, the operation of the MCPsemiconductor device 300 in the test mode operation is described below.

The normal operation mode is changed to the test mode operation bychanging the voltage levels of the first and second test mode signalsTM1, TM2 from the L level to the H level.

When the voltage level of the first test mode signal TM1 is changed fromthe L level to the H level, since both of the analog switches SW1, SW2in the first test circuit TC21 turn on, the internal pads P1 a, P1 b areconnected to the external pads P1 d, P1 e electrically. Further, sincethe voltage level of the first test mode signal TM1 is inverted from theH level to the L level by the inverter 39, the signal having the L levelis inputted to each of the first terminals of the second through fifthAND gate 321, 322, 323, 324. Thus, the signal inputted from the externalterminals 311, 312 are not provided to the first internal circuit 80 inthe first chip C21, and the voltage level of the input signals IN11,IN12 are fixed to the L level. Further, since the inverted signal fromthe inverter 39 is inputted to the fourth and fifth AND gates whoseoutputs are connected to the second and third 3-state buffers 325, 326,the output signals OUT11, OUT12 from the first internal circuit 80 arenot provided to the internal pads P1 a, P1 b and the external pads P1 d,P1 e because the output terminals of the second and third 3-statebuffers 325, 326 are in the high impedance state.

In the third embodiment, although the second and third AND gates 321,322 are used, the other logic circuits may be used, responsive to thespecification of the first internal circuit 80 of the first chip C21 ifthe other logic circuits does not flow any current at their outputterminals in the test mode operation.

When the voltage level of the first test mode signal TM1 is changed fromthe L level to the H level, since the voltage level of the signal, whichis inputted to the control terminal of the first 3-state buffer 37, isfixed to the L level, the output terminal of the first 3-state buffer 37is in high impedance state. Thus, the output signal OUT11 from the firstinternal circuit 80 of the first chip C21 is not provided to theinternal pads P1 a because the output terminal of the first 3-statebuffer 37 is in high impedance state. Further, since the inverted signalfrom the inverter 39 having the L level is inputted to the second inputterminal of the first AND gate 38, the output terminal of the first ANDgate 38 is fixed to the L level. Therefore, no current flows at theoutput terminal of the first AND gate 38.

In this state, leakage current at the internal pads P1 a, P1 b, P2 a, P2b and their peripheral circuits is measured. To perform the measurementof the leakage current, it is necessary to apply signal having apredetermined voltage level (H or L) to the internal pads P1 a, P1 b.However, according to this embodiment, the external terminals 311, 312that are located outside of the MCP semiconductor device 300 isconnected to the internal pads P1 a, P1 b directly in the test modeoperation. Therefore, even if the signals having the predeterminedvoltage level are applied to the external terminals 311, 312, it ispossible to fix logic levels at the internal pads P1 a, P1 b.

According to the test circuit 350 of the third embodiment, it ispossible to measure the leakage current at the internal pads P1 a, P1 b,P2 a, P2 b and their peripheral circuits by applying the signals havingthe predetermined voltage level from the external terminals 311, 312 tothe internal pads P1 a, P1 b, P2 a, P2 b, which connect the first chipC21 to the second chip C2. As a result, it is easy to find the existenceof the defective internal pads or the defective peripheral circuitsformed on the first and second chips C1, C2 so that the accuracy forpicking up the MCP semiconductor device having the defective chip isincreased.

Fourth Preferred Embodiment

Referring to FIGS. 4 and 5, an MCP semiconductor device 400 includes afirst chip C31 and a second chip 32, which is mounted on the first chipC31. The first chip C31 includes a first test circuit TC11, which is thesame as the first test circuit TC11 disclosed in the second embodiment,a first shift register SR 31 and an inverter 41. The second chip C32includes a second test circuit TC32. Comparing to the second testcircuit TC 12 disclosed in the second embodiment, the second testcircuit TC32 of the fourth embossment includes a second shift resistorSR 32 as a replacement of the first and fourth decoders 26A, 26B, 26C,26D disclosed in the second embodiment. A test circuit 450 is acombination of the first test circuit TC11, the first shift registerSR31, the inverter 41 and the second test circuit TC32.

Referring to FIG. 5, the second shift register SR32 in the second testcircuit TC32 includes first through eighth register 511, 512, 513, 514,515, 516, 518, 518, each of which includes D-type flip flop circuit.Each register 511-518 includes a data input terminal D, a shift clocksignal (SCK) input terminal CK and an output terminal Q. Each register511-518 corresponds to one of eight internal pads P2 a 1, P2 a 2, P2 a3, P2 a 4, P2 b 1, P2 b 2, P2 b 3, P2 b 4. Further, the data inputterminal D of each of the second through eight registers 512-518 isconnected to one of seven selectors 522, 523, 524, 525, 526, 527, 528.The first through seventh selectors 522-528 are controlled by a shiftregister mode setting signal RM. The first selector 522 selects one frombetween the output signal of the first register 511 and a signalprovided to the internal pad P2 a 2, and outputs the selected signal tothe data input terminal D of the second register 512. The secondselector 523 selects one from between the output signal of the secondregister 512 and a signal provided to the internal pad P2 a 2, andoutputs the selected signal to the data input terminal D of the thirdregister 513. The third selector 524 selects one from between the outputsignal of the third register 513 and a signal provided to the internalpad P2 a 3, and outputs the selected signal to the data input terminal Dof the fourth register 514. The fourth selector 525 selects one frombetween the output signal of the fourth register 514 and a signalprovided to the internal pad P2 a 4, and outputs the selected signal tothe data input terminal D of the fifth register 515. The fifth selector526 selects one from between the output signal of the fifth register 515and a signal provided to the internal pad P2 b 1, and outputs theselected signal to the data input terminal D of the sixth register 516.The six selector 527 selects one from between the output signal of thesixth register 516 and a signal provided to the internal pad P2 b 2, andoutputs the selected signal to the data input terminal D of the seventhregister 517. The seventh selector 528 selects one from between theoutput signal of the seventh register 517 and a signal provided to theinternal pad P2 b 3, and outputs the selected signal to the first shiftregister SR31.

The first shift register 31 includes eight registers 421, 422, 423, 424,425, 426, 427, 428 for storing data outputted from the second shiftregister 32 serially.

The operation of the MCP semiconductor device 400 having the structuredescribed above, is explained below. In the normal operation mode, sincethe operation of the MCP semiconductor device 400 is similar to that ofthe MCP semiconductor device 200 of the second embodiment, theexplanation of the normal operation of the MCP semiconductor device 400is omitted to avoid the overlapped description. Therefore, theexplanation described below is as to the test mode operation of the MCPsemiconductor device 400.

The normal operation mode is changed to the test mode operation bychanging the voltage levels of the first and second test mode signalsTM1, TM2 from the L level to the H level.

As explained in the second embodiment, data having predetermined patternsuch as “00000000”, “01010101”, “10101010” or “11111111” is set inunillustrated eight test registers disposed in the first test circuitTC11. The data having predetermined patterns is outputted to theinternal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4 formed on the first chip C31.Each signal on the internal pads P1 a 1-P1 a 4, P1 b 1-P1 b 4 areprovided to one of the internal pads P2 a 1-P2 a 4, P2 b 1-P2 b 4 formedon the second chip C32 via a bonding wire.

In this state, the voltage level of the shift register mode settingsignal RM is set to the L level. By setting the voltage level of thesignal RM to the L level, each of the first through seven selectors522-528 selects the signal provided to each of eight internal pads P2 a1-P2 a 4, P2 b 1-P2 b 4. Further, in this state, when one pulse of ashift clock signal SCK is inputted to each of the first through eighthregisters 511-518 in the second shift register SR32, the data providedto eight internal pads P2 a 1-P2 a 4, P2 b 1-P2 b 4 is stored in thefirst through eighth registers 511-518.

Next, while the voltage level of the shift register mode setting signalRM is changed from the L level to the H level, the shift clock signalSCK is continuously applied to each of the first through eighthregisters 511-518. In synchronized with the first one pulse of the shiftclock signal SCK, each data stored in one of the first through sevenregisters 511-517 is transferred to the second through eight resistors512-518, each of which is the next stage of one of the first throughseven registers 511-517. The shift clock signal SCK also is applied toeach of the first through eighth registers 421-428 in the first shiftregister SR31. Therefore, the data stored in the eighth register 518,which is the last stage of the second shift register SR32, istransferred to and stored in the first register 421, which is the firststage of the first shift register SR31.

Since the eight registers are used in each of the first and second shiftregister SR31, SR32, after eight pulses of the shift clock signal SCKare provided to the first and second shift register SR31, SR32, thedata-transfer from the second shift register SR32 to the first shiftregister SR31 has been completed.

Then, the data stored in the eight test registers in the first testcircuit TC11 is compared with the transferred data stored in the firstshift register SR31. When the data are compared, the data stored in thefirst shift register SR31 may be outputted as 8-bit parallel data at onetime, and the data stored in the first shift register SR31 may beoutputted serially by applying the shift clock signal SCK to the firstthrough eighth registers 421-428 in the first shift register SR31. Ifthe data stored in the eight test registers in the first test circuitTC11 does not agree on the data stored in the first shift register SR31,it is judged that the MCP semiconductor device 400 includes a damagedchip.

According to the test circuit 450 of the fourth embodiment, in additionto the benefits of the second embodiment, since the test circuit 450includes registers, each of which corresponds to one of the internalpads, and since the data stored in each register is compared to the datain the data stored in the test register, it is easy to identify thespecific internal pad, which has a defects, from a plurality of theinternal pads. Thus, by feedbacking this information as to the defectiveinternal pad to circuit designers or to the manufacturers of an MCPsemiconductor device, it is possible to change the design at thedefective area and to improved the productivity of the MCP semiconductordevice having no defects

Fifth Preferred Embodiment

Referring to FIG. 6, an MCP semiconductor device 500 includes a firstchip C41 having a first test circuit TC41 and a second chip C42 having asecond test circuit TC42. The first chip C41 and the second chip C42 aredisposed on the same plane. The test circuit 550 is a combination of thefirst test circuit TC41 and the second test circuit TC42.

The first chip C41 further includes an internal pad P1 a and an externalpad P1 f, and the second chip C42 further includes an internal pad P2 aand an external pad P2 f. The internal pads P1 a, P2 a are connected toeach other by a bonding wire BWa. The external pad P1 f is connected toan external terminal 411 such as a lead flame by a bonding wire BW1 f,and the external pad P2 f is connected to an external terminal 421 suchas a lead flame by a bonding wire BW2 f.

The first test circuit TC41 includes a first test mode control circuit412, a first inverter 413 and a first analog switch SW41. The secondtest circuit TC42 includes a second test mode control circuit 422, asecond inverter 423 and a second analog switch SW412.

The first analog switch SW41 includes a transfer gate, and selectsconnection or disconnection between the internal pad P1 a and theexternal pad P1 f. The first analog switch SW41 is controlled by a firsttest mode signal TM1 and the inverted signal of the first test modesignal TM1, which is generated by the inverter 413. When the mode of theMCP semiconductor device 500 is changed from the operation mode to thetest mode by changing the voltage level of the first test mode signalTM1 from the L level to the H level, the first analog switch SW1 turnson. Therefore, in the test mode operation, the internal pads P1 a iselectrically connected to the external pads P1 f, which is connected toan external terminals 411 of the lead frame, which is disposed outsideof the MCP semiconductor device 500.

The second analog switch SW42 includes a transfer gate, and selectsconnection or disconnection between the internal pad P2 a and theexternal pad P2 f. The second analog switch SW42 is controlled by asecond test mode signal TM2 and the inverted signal of the second testmode signal TM2, which is generated by the inverter 423. When the modeof the MCP semiconductor device 500 is changed from the operation modeto the test mode by changing the voltage level of the second test modesignal TM2 from the L level to the H level, the second analog switch SW2turns on. Therefore, in the test mode operation, the internal pads P2 ais electrically connected to the external pads P2 f, which is connectedto an external terminals 421 of the lead frame.

When the first test mode signal TM1 is at the L level, that is, thefirst chip C41 is in the operation mode, the first test mode controlcircuit 412 connects a first internal circuit 80 of the first chip C41to the internal and external pads P1 a, P1 f, and controls the signaltransmission between the internal and external pads P1 a, P1 f. When thesecond test mode signal TM2 is at the L level, that is, the second chipC42 is in the operation mode, the second test mode control circuit 422connects a second internal circuit 90 of the second chip C42 to theinternal and external pads P2 a, P2 f, and controls thesignal-transmission between the internal and external pads P2 a, P2 f.Each of the first and second test mode control circuit 412, 422 can beformed of the first AND gate 38, the first 3-state buffer 39 and theinverter 39, each of which is disclosed in FIG. 3.

The normal operation mode is changed to the test mode operation bychanging the voltage levels of the first and second test mode signalsTM1, TM2 from the L level to the H level.

When the voltage level of the first test mode signal TM1 is changed fromthe L level to the H level, since the first analog switch SW1 in thefirst test circuit TC41 turns on, the internal pad P1 a is connected tothe external pad P1 f electrically. Further, the internal and externalpads p1 a and p1 f are disconnected from the first internal circuit 80electrically by the first test mode control circuit 412.

When the voltage level of the second test mode signal TM2 is changedfrom the L level to the H level, since the second analog switch SW2 inthe second test circuit TC42 turns on, the internal pad P2 a isconnected to the external pad P2 f electrically. Further, the internaland external pads p2 a and p2 f are disconnected from the secondinternal circuit 90 electrically by the second test mode control circuit422. Thus, the external pads P1 f, P2 f are connected electrically toeach other via the internal pads P1 a, P2 a and the bonding wire BWa inthe test mode operation.

In this state, if a test mode signal having a predetermined voltagelevel is applied to the external pad P1 f, the test mode signal isoutputted from the external pad P2 f as it is when circuits between theexternal pads P1 f, P2 f has no defects. However, if a currentleakage-pass is formed at one of or all of the internal pads P1 a, P2 aand their peripheral circuit by damaging the chips C41, C42, the signalhaving a voltage level, which is different from that of the test modesignal provided to the external pad P1 f, is outputted from the externalpad P2 f.

According to the test circuit 550 of the fifth embodiment, by measuringthe voltage level of the signal outputted from the external pad P2 f,and then, by comparing it to the voltage level of the test mode signalprovided to the external pad P1 f, it is possible to find the existenceof the defective internal pads or the defective peripheral circuitsbetween the external pads P1 f, P2 f rapidly.

Further, although the test circuit 550 is used to the MCP semiconductordevice 500 having the first chip C41 and the second chip C42, which aredisposed on the same plane, the test circuit 550 can be applied to anMCP semiconductor device having the first chip and the second chip,which are stacked to each other.

While the present invention has been described with reference toillustrative embodiments, this description is not intended to beconstrued in a limiting sense. Various other modifications of theillustrated embodiments, as well as other embodiments of the invention,will be apparent to those skilled in the art on reference to thisdescription. For example, in the first, second, and fourth embodiment,although each of the first test circuits TC1, TC11 includes testregisters corresponding to the internal pads P1 a 1-P1 a 4, P1 b 1-P1 b4 one by one, it is possible to remove the test registers. In this case,the test circuit, which provide the test mode signal to the internalpads P1 a 1-P1 a 4, P1 b 1-P1 b 4 from the external terminal may beformed in the first test circuits TC1, TC11, as well as the testcircuits disclosed in the third and fifth embodiments. Moreover, whenthe mode transfer of an MCP semiconductors device from/to the test modeoperation to/from the normal operation is controlled by the first andsecond test mode signals TM1, TM2 having the same voltage level or arelated voltage level, the first and second test mode signals TM1, TM2may be formed from a single signal. Therefore, the appended claims areintended to cover any such modifications or embodiments as fall withinthe true scope of the invention.

According to the invention, a leakage current at the internal padsformed on the first chip and at the internal pads on the second chip canbe measured. Further, under the measurement of the leakage current, eachof the internal pads are disconnected form the first and second internalcircuits. Therefore, a high accurate measurement result can be obtained.

1. A multi-chip package type semiconductor device having a firstsemiconductor chip, which has a first internal circuit and a pluralityof first internal terminal pads for transmitting signals to or from thefirst internal circuit, and a second semiconductor chip, which has asecond internal circuit and a plurality of second internal terminal padsfor transmitting signals to or from the second internal circuit fortransmitting signals, and each second internal terminal pad beingconnected to one of the first internal terminal pads electrically,comprising: a test circuit, responsive to a voltage level of a test modesignal, selecting one from between operations for prohibiting signaltransmission between the first internal circuit and the first internalterminal pads and for allowing signal transmission between the firstinternal circuit and the first internal terminal pads, and for selectingone from between operations for prohibiting signal transmission betweenthe second internal circuit and the second internal terminal pads andfor allowing signal transmission between the second internal circuit andthe second internal terminal pads, the test circuit including adetection circuit wherein the detection circuit receives a signaloutputted from each of the first or second internal terminal pads,detects whether a voltage level of the signal is identical to apredetermined voltage level, and outputs a result of the detection.
 2. Amulti-chip package type semiconductor device as claimed in claim 1,wherein the test mode signal includes a first test mode signal and asecond test mode signal, and wherein the test circuit includes a firsttest control circuit formed on the first semiconductor chip, the firstcontrol circuit responsive to the first test mode signal for selectingone from between the operations for prohibiting signal transmissionbetween the first internal circuit and the first internal terminal padsand for allowing signal transmission between the first internal circuitand the first internal terminal pads; and a second test control circuitformed on the second semiconductor chip, the second test control circuitresponsive to the second test mode signal for selecting one from betweenthe operations for prohibiting signal transmission between the secondinternal circuit and the second internal terminal pads and for allowingsignal transmission between the second internal circuit and the secondinternal terminal pads.
 3. A multi-chip package type semiconductordevice as claimed in claim 2, further including a detection circuit,which is disposed on one of the first an second semiconductor chips. 4.A test circuit incorporated in a multi-chip package type semiconductordevice, the multi-chip package type semiconductor device including afirst semiconductor chip and a second semiconductor chip, the firstsemiconductor chip having a first internal circuit and a plurality offirst internal terminal pads for transmitting signals to and from thefirst internal circuit, a second semiconductor chip having a secondinternal circuit and a plurality of second internal terminal pads fortransmitting signals to and from the second internal circuit fortransmitting signals, and each second internal terminal pad beingconnected to one the first internal terminal pads electrically, the testcircuit comprising: a first test control circuit formed on the firstsemiconductor chip, the first test control circuit responsive to a firsttest mode signal for selecting one from between operations forprohibiting signal transmission between the first internal circuit andthe first internal terminal pads, and for allowing signal transmissionbetween the first internal circuit and the first internal terminal pads;and a second test control circuit formed on the second semiconductorchip, the second test control circuit responsive to a second test modesignal for selecting one from between operations for prohibiting signaltransmission between the second internal circuit and the second internalterminal pads and for allowing signal transmission between the secondinternal circuit and the second internal terminal pads, and a detectioncircuit, which is disposed on one of the first and second semiconductorchip, receiving a signal outputted from each of the first or secondinternal terminal pads, detecting whether a voltage level of the signalis identical to a predetermined voltage level, and outputting a resultof the detection.